﻿<?xml version="1.0" encoding="utf-8"?>

<!--
   Sheego.Service.X400
   Copyright (C) 2015 Schwab Versand GmbH
   
   This source file is subject to the Microsoft Public License (Ms-PL).
   http://www.opensource.org/licenses/ms-pl.html
   All other rights reserved.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="Sheego.Service.X400">
   <xs:element name="Rules">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Rule" maxOccurs="unbounded" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Matcher">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="Property">
                        <xs:complexType>
                          <xs:simpleContent>
                            <xs:extension base="xs:string">
                              <xs:attribute type="xs:string" name="Name" use="optional"/>
                            </xs:extension>
                          </xs:simpleContent>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                    <xs:attribute type="xs:string" name="Type" use="optional"/>
                  </xs:complexType>
                </xs:element>
                <xs:element name="Processor">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="Property">
                        <xs:complexType>
                          <xs:simpleContent>
                            <xs:extension base="xs:string">
                              <xs:attribute type="xs:string" name="Name" use="optional"/>
                            </xs:extension>
                          </xs:simpleContent>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                    <xs:attribute type="xs:string" name="Type" use="optional"/>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:schema>